export const PAGE_CODE = 'dcs-parts-parts';
import {PAGE_TEN} from '../constants';
import {baseDataStatus} from '../Enum';

export const DEFAULT_QUERY_OPTION = {
    code: [],
    categoryCode: [],
    isEOL: [],
    name: undefined,
    status: [baseDataStatus.生效],
    channel: undefined,
    warrantyPartType: [],
    isDangerousGoods: [],
    pageIndex: PAGE_TEN.index,
    pageSize: PAGE_TEN.size,
    sortField: 'invoicedDate',
    isDesc: true
};
export const PERMISSION = Object.freeze({
    // 导入检查属性
    importCheckAttributes: 'importCheckAttributes',
    //导入销售属性
    importSalesAttributes: 'importSalesAttributes',
    //导入生产信息
    importProduceAttributes: 'importProduceAttributes',
    // 导出基础数据
    exportBasicDatas: 'exportBasicDatas',
    //导出检查属性
    exportCheckedProperties: 'exportCheckedProperties',
    //导出销售属性
    exportSalesAttributes: 'exportSalesAttributes',
    //导出备件销售价格信息
    exportPartSalesPriceData: 'exportPartSalesPriceData',
    //冻结
    freeze: 'freeze',
    //解冻
    thaw: 'thaw',
    update: 'update'
});
